package com.ly.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.system.system.bean.entity.SysPost;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * 职务表
 *
 * @author jeecg
 * @Date: 2019-09-19
 */
public interface SysPostMapper extends BaseMapper<SysPost> {

    /**
     * 通过用户id获取职位名称
     *
     * @param userId
     * @return
     */
    List<SysPost> getPositionList(@Param("userId") String userId);
}
